import React, {Component} from 'react';
let a='lina';
const  student={
    name:'熊猫',
    sex:'雄性',
    age:2,
    eat:()=>{
        return '吃竹笋！'
    }
}
/*props的值是不可以修改的，只用于父组件传递给子组件
*state
*
* */

class Test extends Component {
    render() {
        this.state = {
            kk:'lisi'
        };
        this.state={
            kk:this.props.kkk
        }
        console.log(student.name+student.eat())
        let a=89;
        let b=90;
        let  c =`${a}`+"+"+`${b}`+"="+`${a+b}`
        console.log(c)

        return (
            <div>
                虚拟世界是多么可怕
                {this.state.kk}
            </div>
        );
    }
}

export default Test;